import utility

class ApplicationEntity(object):
    def __init__(self,applicationID,owner,applicationType,decision,resume=None,dateSubmitted=None,dateDecided=None,reviewer=None\
                 ,ownerName=None,applicationTypeDesc=None,decisionDesc=None,reviewerName=None):
        self.__applicationID = applicationID
        self.__owner = owner
        self.__applicationType = applicationType
        self.__resume = resume
        self.__decision = decision
        self.__dateSubmitted = dateSubmitted
        self.__dateDecided = dateDecided
        self.__reviewer = reviewer
        self.__ownerName = ownerName
        self.__applicationTypeDesc = applicationTypeDesc
        self.__decisionDesc = decisionDesc
        self.__reviewerName = reviewerName
        

    ColumnNames = utility.Enum(
        applicationID = "ApplicationID",
        owner = "Owner",
        applicationType = "ApplicationType",
        resume = "Resume",
        decision = "Decision",
        dateSubmitted = "DateSubmitted",
        dateDecided = "DateDecided",
        reviewer = "Reviewer",
        ownerName = "OwnerName",
        applicationTypeDesc = "ApplicationTypeDesc",
        decisionDesc = "DecisionDesc",
        reviewerName = "ReviewerName",
        )

    def __get_applicationID(self):
        return self.__applicationID
    def __set_applicationID(self, value):
        self.__applicationID = value
    ApplicationID = property(fget=__get_applicationID, fset=__set_applicationID)


    def __get_owner(self):
        return self.__owner
    def __set_owner(self, value):
        self.__owner = value
    Owner = property(fget=__get_owner, fset=__set_owner)


    def __get_applicationType(self):
        return self.__applicationType
    def __set_applicationType(self, value):
        self.__applicationType = value
    ApplicationType = property(fget=__get_applicationType, fset=__set_applicationType)


    def __get_resume(self):
        return self.__resume
    def __set_resume(self, value):
        self.__resume = value
    Resume = property(fget=__get_resume, fset=__set_resume)


    def __get_decision(self):
        return self.__decision
    def __set_decision(self, value):
        self.__decision = value
    Decision = property(fget=__get_decision, fset=__set_decision)


    def __get_dateSubmitted(self):
        return self.__dateSubmitted
    def __set_dateSubmitted(self, value):
        self.__dateSubmitted = value
    DateSubmitted = property(fget=__get_dateSubmitted, fset=__set_dateSubmitted)


    def __get_dateDecided(self):
        return self.__dateDecided
    def __set_dateDecided(self, value):
        self.__dateDecided = value
    DateDecided = property(fget=__get_dateDecided, fset=__set_dateDecided)


    def __get_reviewer(self):
        return self.__reviewer
    def __set_reviewer(self, value):
        self.__reviewer = value
    Reviewer = property(fget=__get_reviewer, fset=__set_reviewer)


    def __get_ownerName(self):
        return self.__ownerName
    def __set_ownerName(self, value):
        self.__ownerName = value
    OwnerName = property(fget=__get_ownerName, fset=__set_ownerName)


    def __get_applicationTypeDesc(self):
        return self.__applicationTypeDesc
    def __set_applicationTypeDesc(self, value):
        self.__applicationTypeDesc = value
    ApplicationTypeDesc = property(fget=__get_applicationTypeDesc, fset=__set_applicationTypeDesc)


    def __get_decisionDesc(self):
        return self.__decisionDesc
    def __set_decisionDesc(self, value):
        self.__decisionDesc = value
    DecisionDesc = property(fget=__get_decisionDesc, fset=__set_decisionDesc)


    def __get_reviewerName(self):
        return self.__reviewerName
    def __set_reviewerName(self, value):
        self.__reviewerName = value
    ReviewerName = property(fget=__get_reviewerName, fset=__set_reviewerName)
